<template>
  <div class="btn">
    <span>{{text}}</span>
  </div>
</template>

<script>
export default {
  name: 'myButton',
  props: {
    text: {
      type: String
    }
  }
}
</script>

<style lang="stylus" scoped>
  .btn{
    position: fixed
    width: 100%
    bottom: 0
    left: 0
    height: 1rem
    line-height: 1rem
    text-align: center
    background-color: rgb(210, 23, 51)
    span{
      color: #fff
      font-size: .32rem
      padding: .2rem
    }
  }
</style>
